<!doctype html>
<html ng-app>
    <head>
    </head>
    <body ng-controller="SettingsController">
        Click me to toggle: <input type="checkbox" ng-model="checked"><br/>
        <button ng-model="button" ng-disabled="checked">Button</button>
    </body>
</html>